package com.tjhq.dict;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

/**
 * 使用@FeignClient("service-provider-demo")注解绑定service-provider-demo服务，还可以使用url参数指定一个URL。
 * @author bzy
 * @date 2017/12/4
 */
@FeignClient("service-dict")
public interface DictClient {
    
    @RequestMapping("/dict/create")
    Object createTable(HttpServletRequest request);
}
